home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / ubiquity.postinst < prev    next >
Encoding:
Text File  |  2009-04-19  |  647 b   |  27 lines

  1. #! /bin/sh
  2. set -e
  3.  
  4. . /usr/share/debconf/confmodule
  5.  
  6. if [ -e /etc/rc2.d/S20ubiquity ]; then
  7.     update-rc.d -f ubiquity remove >/dev/null 2>&1
  8. fi
  9.  
  10. # Automatically added by dh_installinit
  11. if [ -x "/etc/init.d/ubiquity" ]; then
  12.     update-rc.d ubiquity start 29 2 3 4 5 . >/dev/null || exit $?
  13. fi
  14. # End automatically added section
  15. # Automatically added by dh_pycentral
  16. rm -f /var/lib/pycentral/ubiquity.pkgremove
  17. if which pycentral >/dev/null 2>&1; then
  18.     pycentral pkginstall ubiquity
  19.     if grep -qs '^ubiquity$' /var/lib/pycentral/delayed-pkgs; then
  20.         sed -i '/^ubiquity$/d' /var/lib/pycentral/delayed-pkgs
  21.     fi
  22. fi
  23. # End automatically added section
  24.  
  25.  
  26. exit 0
  27.